<template>
  <div class="super-search">
    <div class="search-panel">
      <p>超级搜索</p>
      <input type="text" />
      <button @click="search">搜索(点我跳转)</button>
    </div>
  </div>
</template>

<script setup name="super-search">
  // const { proxy } = getCurrentInstance()
  const router = useRouter();
  // const route = useRoute()
  const search = () => {
    router.push('/super-search-result');
  };
</script>

<style lang="less" scoped>
  .super-search {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
</style>
